import request from '../../utils/request'

export function vehicleinfoList(queryParams){
  return request({
      url:'/vehicleinfo',
      method:'get',
      params: queryParams,
  })
}

export function vehicleinfoEdit(queryParam){
  return request({
    url:'/vehicleinfo',
    method:'put',
    data: queryParam,
  })
}

export function vehicleinfoDelete(id){
  return request({
    url:`/vehicleinfo/${id}`,
    method:'delete',
  })
}

export function vehicleinfoAdd(queryParam){
  return request({
    url:'/vehicleinfo',
    method:'post',
    data: queryParam,
  })
}